<?php


namespace App\servers;


class SmsEntranceServer
{
    private $strategy;
    public function  __construct(SendsmsInterface $strategy)
    {
        return $this->strategy = $strategy;
    }

    public function getStrategy($phone)
    {
        return $this->strategy->send($phone);
    }
}
